<?php
namespace app\admin\behavior;
use think\Cookie;
class Login{
	public function run()
    {
        if(!Cookie::get('admin')){
			$url = url('Login/login');
			echo "<script>top.location.href = '$url'</script>";
		}else{
			
		}
    }
}